<?php
if(!defined('BZ_XTBLOG') || !defined('BZ_WJSCUZ')) {
	exit('Access Denied');
}
$wzxx_title ='网站合作-'.$wzxx_title.'';
$wzxx_gj    ='网站合作-'.$wzxx_gj.'';
$wzxx_ms    ='网站合作-'.$wzxx_ms.'';
$fid =verify_id($_GET['fid']);
$row_ly =$db->get_one('link_class'," `id` ='$fid'",'');
if(!$row_ly){
  $pdid='1';
}else{
	 $name=$row_ly[name];
   $num_count=$db->num_rows('link'," `fid` ='$row_ly[id]' ",'id');
   $list_num ="10";
   $num_start=page_num($list_num,$num_count);
   $sql_bbs  =$db->query('link'," `fid` ='$row_ly[id]' ORDER BY `id` DESC LIMIT ".$num_start." , ".$list_num." ",'');
   $a        ='1';
   while($row=mysql_fetch_array($sql_bbs)){
   	  $zzsja=Bingz_time($row[time_a]);
   	  $row[namem]=Bingz_html($row[namem]);
      $llfl[]= array("name"=>"$row[namem]","id"=>"$row[id]","sj"=>"$zzsja","j"=>"$row[jlick]","c"=>"$row[click]");
      $a++;
   }
   $page=page_link($list_num,$num_count);
}
@include template('head');
@include template('link/link_view');
@include template('foot');
?>